var express = require('express');
var router = new express.Router();
var creators=require('./data/creators')
router.get('/creators', function (req, res) {
  res.send(creators);
})
router.get('/crea_add',function (requeset,response) {
  console.log(requeset.query)
  creators.unshift(requeset.query)
  response.send({
    crea:creators,
    flag:true
  })
})
module.exports= router;
